ElasticPress\Elasticsearch D

Total Complexity 167
Dependencies 2
Dependents 19
Total lines 1,597
Lines of code 645
Logical lines of code 335
Comment lines 696
Methods 37
Properties 4

Methods 37

Method Rating Maintainability Complexity Lines of code
set_elasticsearch_info()
B
39 23 60
remote_request()
A
40 13 54
query()
A
38 12 66
get_documents()
A
48 8 31
parse_api_response()
A
51 8 28
create_network_alias()
S
51 6 27
index_exists()
S
58 6 15
is_empty_query()
S
59 6 15
create_pipeline()
S
54 5 20
update_index_settings()
S
55 5 18
get_document()
S
55 5 17
get_mapping()
S
57 5 16
index_document()
S
49 4 31
bulk_index()
S
53 4 21
delete_document()
S
54 4 21
get_pipeline()
S
55 4 19
add_query_log()
S
69 5 6
format_request_headers()
S
59 4 14
delete_index()
S
60 4 12
cache_elasticsearch_info()
S
55 3 23
get_cluster_status()
S
56 3 18
put_mapping()
S
57 3 16
delete_network_alias()
S
62 4 10
refresh_indices()
S
62 4 10
add_elasticpress_version_to_user_agent()
S
62 2 11
factory()
S
69 2 7
get_total_hits_from_query()
S
71 2 6
get_hits_from_query()
S
70 2 6
open_index()
S
64 2 9
close_index()
S
64 2 9
get_query_log()
S
82 1 3
get_server_type()
S
74 1 4
get_elasticsearch_version()
S
74 1 4
get_elasticsearch_info()
S
67 1 8
delete_all_indices()
S
80 1 3
parse_site_id()
S
78 1 3
get_elasticsearch_plugins()
S
74 1 4